package cn.sofwin.web.blog.servlet;

import cn.sofwin.web.blog.service.UserService;
import cn.sofwin.web.blog.service.impl.UserServiceImpl;

import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

/**
 * 用户Servlet
 * @author ZX
 * @version 1.0
 */
@WebServlet("/blog/user")
public class UserServlet extends HttpServlet {

    /** 用户服务接口 */
    private UserService userService = UserServiceImpl.getInstance();

    @Override
    protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {

    }

    @Override
    protected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {

    }
}
